package org.exhibitj.automation.actions;

import org.exhibitj.automation.Action;
import org.exhibitj.automation.Agent;

public class WaitAction implements Action {

	private final int amountToWait;

	public WaitAction(int amountToWait) {
		this.amountToWait = amountToWait;
	}

	@Override
	public void perform(Agent agent) {
		agent.delay(amountToWait);
	}

}
